package com.hmkj.core.po.wx;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 微信公众号表实体信息<br>
 *
 * @author Vector
 * @date   2017-10-18 10:04:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "微信公众号表")
@Table(name = "wx_account")
public class WxAccount extends GenericPo<Integer> {

    public static final String TABLE_NAME = "wx_account";

	
	/**微信公众号ACCESSTOKEN**/
	@ApiModelProperty(value = "微信公众号ACCESSTOKEN")
	private String accesstoken;
	/**微信公众号微信号**/
	@ApiModelProperty(value = "微信公众号微信号")
	private String account;
	/**微信公众号APPID**/
	@ApiModelProperty(value = "微信公众号APPID")
	private String appid;
	/**微信公众号名称**/
	@ApiModelProperty(value = "微信公众号名称")
	private String name;
	/**微信公众号原始名称**/
	@ApiModelProperty(value = "微信公众号原始名称")
	private String oriName;
	/**微信公众号APPSECRET**/
	@ApiModelProperty(value = "微信公众号APPSECRET")
	private String appsecret;
	/**微信公众号TOKEN**/
	@ApiModelProperty(value = "微信公众号TOKEN")
	private String token;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public WxAccount(){}

    public WxAccount(Consumer<WxAccount> consumer){
    consumer.accept(this);
    }
}

